WPO\WC\PDF_Invoices\Documents\Order_Document_Methods D

Total Complexity 264
Dependencies 1
Dependents 0
Total lines 1,346
Lines of code 868
Logical lines of code 470
Comment lines 293
Methods 72
Properties 0

Methods 72

Method Rating Maintainability Complexity Lines of code
get_thumbnail()
B
43 24 38
get_tax_rate()
B
41 20 47
get_woocommerce_totals()
B
41 20 47
get_order_items()
A
40 12 54
get_custom_field()
A
52 13 22
get_tax_rates_from_order()
A
51 11 25
get_shipping_address()
A
51 8 26
get_product_attribute()
A
53 8 22
get_order_notes()
S
53 7 23
get_billing_address()
S
56 6 19
order_notes()
S
55 6 18
ships_to_different_address()
S
51 5 28
get_formatted_item_price()
S
59 6 12
custom_field()
S
53 5 24
get_shipping_notes()
S
59 5 14
is_order_prop()
S
43 2 54
get_order_discount()
S
54 4 22
get_order_fees()
S
56 4 18
get_order_taxes()
S
56 4 16
get_tax_rate_by_id()
S
59 4 14
get_thumbnail_id()
S
63 4 11
show_shipping_address()
S
67 4 7
show_billing_address()
S
67 4 7
get_phone()
S
65 4 8
document_display_date()
S
60 3 14
document_notes()
S
64 3 11
get_order_grand_total()
S
58 2 15
get_shipping_phone()
S
68 3 7
get_order_shipping()
S
58 2 15
get_order_subtotal()
S
63 3 9
get_billing_email()
S
64 3 9
get_payment_date()
S
62 3 10
get_display_date_label()
S
63 2 11
get_tax_rate_ids()
S
62 2 11
get_order_date()
S
62 2 11
calculate_tax_rate()
S
64 2 9
get_refund_parent()
S
68 2 8
shipping_notes()
S
70 2 6
get_order_number()
S
64 2 10
get_invoice_number()
S
66 2 8
invoice_number()
S
67 2 8
get_payment_method()
S
63 2 10
invoice_date()
S
67 2 8
get_invoice_date()
S
66 2 8
invoice_number_title()
S
81 1 3
format_price()
S
72 1 5
wc_price()
S
79 1 3
get_invoice_number_title()
S
74 1 4
get_refund_reason_title()
S
78 1 3
order_grand_total()
S
75 1 4
get_document_notes()
S
74 1 4
is_refund()
S
80 1 3
order_discount()
S
75 1 4
get_current_date()
S
78 1 3
billing_address()
S
81 1 3
billing_email()
S
81 1 3
get_billing_phone()
S
75 1 4
billing_phone()
S
81 1 3
shipping_phone()
S
80 1 3
shipping_address()
S
81 1 3
product_attribute()
S
79 1 3
current_date()
S
81 1 3
order_shipping()
S
75 1 4
payment_method()
S
81 1 3
payment_date()
S
81 1 3
get_shipping_method()
S
74 1 4
shipping_method()
S
81 1 3
order_number()
S
81 1 3
order_date()
S
81 1 3
get_refund_parent_id()
S
81 1 3
order_subtotal()
S
75 1 4
refund_reason_title()
S
81 1 3